package ml;

import java.util.ArrayList;
import java.util.List;

public class FeatureVector {
	private List<Data> data;
	private int label;
	
	public FeatureVector(List<Data> data) {
		this.data = data;
	}

	public FeatureVector() {
		this(new ArrayList<Data>());
	}

	public void addSequence(List<Data> d) {
		data.addAll(d);
	}

	public List<Data> getData() {
		return data;
	}
	
	public int size() {
		return data.size();
	}

	public int getLabel() {
		return label;
	}

	public void setLabel(int label) {
		this.label = label;
	}
}
